home *** CD-ROM | disk | FTP | other *** search
- Contour has routines for displaying graphics plots on
- X10 or X11. There are several ways of compiling
- this program, depending on machine type.
-
- 1) The easist way of compiling is to use imakefiles and xmkmf
-
- To compile the program with X11 graphics :
- % xmkmf
- % make
-
-
- 2) If xmkmf does not exist, then use an ordinary make.
- There are 2 different makefiles
- (A) Makefile.X11
- This compiles with X11 graphics
- % make -f Makefile.X11
-
- Note : To compile with X10 graphics :
- Modify Makefile.X11 so that the line
- "all: contourX11" reads "all: contourX10"
- Then
- % make -f Makefile.X11
-
- (B) Makefile.orig
- This produces binaries with X10 and X11 graphics.
-
- To do everything
- % make -f Makefile.orig
- This produces "contourX10" and "contourX11".
-
- 3) If the X11 libraries are not in /usr/include, then the
- makefiles need to be modified.
-
- 4) Questions to
- ktoh@mascot.berkeley.edu
-
- System Dependencies :
- --------------------
-
- In the Makefiles, the "install" command assumes
- the X-binaries are in /usr/X11/... ('cos that's where everything is on my
- system!). These should be modified.
-
- Also, the printer in main.c should be changed so that the default printer
- is recognized by your system. This is not really necessary if the PRINTER
- environment variable is set correctly (see pdraw.man)
-
- /* printer type */
- if ((ptr = getenv("PRINTER")) == NULL)
- > strcpy(printer,"-Plp550M");
- else
- sprintf(printer,"-P%s",ptr);
- fprintf(stdout," Default Printer = %s\n",printer);
-
-